package com.groupbuying.storeinternal.service;

import com.groupbuying.storeinternal.domain.StoreOpexRuleRelPreDO;
import com.groupbuying.storeinternal.utils.R;

import java.util.List;
import java.util.Map;

/**
 * 运营规则预设表
 * @author zmlmagic
 * @email zmlmagic@163.com
 * @date 2019-09-21 13:41:26
 * @des
 */

public interface StoreOpexRuleRelPreService {
	
	StoreOpexRuleRelPreDO get(Integer preId);
	
	List<StoreOpexRuleRelPreDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(StoreOpexRuleRelPreDO storeOpexRuleRelPre);
	
	int update(StoreOpexRuleRelPreDO storeOpexRuleRelPre);
	
	int remove(Integer preId);
	
	int batchRemove(Integer[] preIds);

	/**
	 * 获取门店预设运营规则列表
	 * **/
	R getOpexRuleList(Map<String, Object> map);

	/**
	 * 编辑门店预设运营规则
	 * **/
	R editOpexRule(Map<String, Object> map);
}
